package com.yunpeng.dishes.dao.mapper.relation;

import com.yunpeng.dishes.dao.mapper.IRelationMapper;
import com.yunpeng.dishes.dao.model.CodeNameDO;
import com.yunpeng.dishes.dao.model.relation.FoodIngredientsNutrientsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * IFoodIngredientsNutrientsMapper 食材营养成分表
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
@Mapper
public interface IFoodIngredientsNutrientsMapper extends IRelationMapper<FoodIngredientsNutrientsDO> {

    /**
     * 根据食材代码获取食材列表
     *
     * @param codes
     * @return
     */
    List<FoodIngredientsNutrientsDO> queryForListByFoodCodes(@Param(value = "codes") List<String> codes);

}
